<?php

#namespace Giocondo;

# separator -- A widget which groups widgets horizontal or vertical.
class Separator extends Container {
	protected $options = array(
		'orientation' => 'horizontal'
	);

	#const default_option = 'orientation';
	public $default_option = 'orientation';

	public function display($options=array()) {
		parent::display();

		# TODO: vertical rule.
		XHtml::element('hr', NULL, array('id' => $this->id));
	}
}

# End of file
# vim: set ts=2 sw=2 noet:
?>
